package com.qf.test.dao;

import com.qf.framwork.base.BaseDao;
import com.qf.test.entity.Student;

import java.util.List;

/**
 * description:
 * author: Ken
 * 公众号：Java架构栈
 */
public class StuDao extends BaseDao {

    /**
     * 查询所有学生
     * @return
     */
    public List<Student> queryAll() {
        String sql = "select * from student";
        List<Student> stus = super.queryPage(sql, Student.class);
        return stus;
    }
}
